package models;

import java.util.Date;
import javax.jdo.annotations.Index;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PrimaryKey;
import javax.persistence.Id;

@Index
public class Location {
	
	@PrimaryKey
	@Id
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)	
	Long	locID;
	
	int LocationIndex;
	String 	LocationCode;
	String	LocationName;	
	int	LocationRegionID; //1 /2 /3 - 1=Asia, 2-China, 3-Pacific Rim
	String		LocationRegionName; //Asia / China
	String	submittedBY;
	Date	submittedON;
	public Long getLocID() {
		return locID;
	}
	public void setLocID(Long locID) {
		this.locID = locID;
	}
	public int getLocationIndex() {
		return LocationIndex;
	}
	public void setLocationIndex(int locationIndex) {
		LocationIndex = locationIndex;
	}
	public String getLocationCode() {
		return LocationCode;
	}
	public void setLocationCode(String locationCode) {
		LocationCode = locationCode;
	}
	public String getLocationName() {
		return LocationName;
	}
	public void setLocationName(String locationName) {
		LocationName = locationName;
	}
	public int getLocationRegionID() {
		return LocationRegionID;
	}
	public void setLocationRegionID(int locationRegionID) {
		LocationRegionID = locationRegionID;
	}
	public String getLocationRegionName() {
		return LocationRegionName;
	}
	public void setLocationRegionName(String locationRegionName) {
		LocationRegionName = locationRegionName;
	}
	public String getSubmittedBY() {
		return submittedBY;
	}
	public void setSubmittedBY(String submittedBY) {
		this.submittedBY = submittedBY;
	}
	public Date getSubmittedON() {
		return submittedON;
	}
	public void setSubmittedON(Date submittedON) {
		this.submittedON = submittedON;
	}

	
}
